package com.zt.bus.order.inter;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zt.bus.order.model.OrderBack;

public interface OrderBackMapper {
    int deleteByPrimaryKey(String orderBackId);

    int insert(OrderBack record);

    OrderBack selectByPrimaryKey(String orderBackId);

    int updateByPrimaryKeySelective(OrderBack record);

    int updateByPrimaryKey(OrderBack record);
    
    List<OrderBack> selectByOrderIdAndStatus(@Param("orderId") String orderId,@Param("status") String status);
    
    List<OrderBack> selectByOrderIdAndOrderBackType(@Param("orderId") String orderId,@Param("orderBackType") String orderBackType);
}